﻿using EventSubscriptionExample;
using Interview.Model.Enum;
using Interview.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Interview.Model
{
    public interface IElectricalBase
    {
        string Name { get; }
        ElectricalStatusEnum Status { get; }
        void TurnOn();
        void TurnOff();
        void CheckStatus();

        event EventHandler<ElectricalStatusEventArgs> StatusChanged;
    }
}
